//
//  ZZGoldTopEntity.m
//  QQplayground
//
//  Created by zhangxy on 2018/8/22.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import "ZZGoldTopEntity.h"

@implementation ZZGoldTopEntity

- (instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    if (self) {
        self = [ZZGoldTopEntity yy_modelWithDictionary:dictionary];
        _user_info = [[User alloc] initWithDictionary:dictionary[@"user_info"]];
    }
    return self;
}


+ (NSDictionary<NSString *,id> *)modelCustomPropertyMapper
{
    return @{
             @"user_id" : @"user_id",
             @"last_rank" : @"last_rank",
             @"now_rank" : @"now_rank",
             @"now_value":@"now_value",
             @"user_rank":@"user_rank"
             };
}

@end
